package com.boot2523.myredis.r1;

import redis.clients.jedis.Jedis;

public class R3 {
    public static void main(String[] args) {
        //将登录后的用户id或用户名存入redis中
        Jedis j=new Jedis();
        j.mset("aid","1","aname","admin");
        System.out.println(j.mget("aid","aname"));
    }
}
